<?php

use slinks\common\UniversalClassLoader;
use slinks\SlinksPaths;

require_once 'common/UniversalClassLoader.php';
require_once 'SlinksPaths.php';

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
    'slinks'           => dirname(dirname(__FILE__)),
    'Assetic'          => SlinksPaths::asseticDir()
));
$loader->registerPrefixes(array(
    'Twig_Extensions_' => SlinksPaths::twigExtensionsDir(),
    'Twig_'            => SlinksPaths::twigDir()
));

$loader->register();
